# dog 继承 Animal

class Animal:
    def __init__(self, name, age, color):
        self.name = name
        self.age = age
        self.color = color

    def call(self):
        return '叫'

    def run(self):
        return '跑'


class Dog(Animal):
    pass


dog = Dog('发财', 5, '白色')
print(dog.call())
print(dog.run())

